package ilbunilcho.lol.main;

public enum LOL_URL {
	base("http://%s.leagueoflegends.com%s%s"),
	rotation("/news/champion-rotation"),
	champions("/champions"),
	items("/items"),
	runes("/runes"),
	ladders_solo("/ladders/solo-5x5"),
	ladders_premade_3x3("/ladders/premade-3x3"),
	ladders_premade_5x5("/ladders/premade-5x5");
	
	String url;
	
	LOL_URL(String url) {
		this.url = url;
	}
	
	public String getUrl() {
		return url;
	}
	
//	public String getUrl(String region, String language, String sub) {
//		String ret = null;
//		if(region.equalsIgnoreCase(LOL_REGION.na.getName())) {
//			ret = String.format(base.getUrl(), region, "", sub);
//		}
//		else {
//			ret = String.format(base.getUrl(), region, "/"+language, sub);
//		}
//		
//		return ret != null ? ret : null;
//	}
}
